```html
<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Deepseek本地部署指南 | 技术小馆</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="https://cdn.staticfile.org/tailwindcss/2.2.19/tailwind.min.css">
    <link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap" rel="stylesheet">
    <script src="https://cdn.jsdelivr.net/npm/mermaid@latest/dist/mermaid.min.js"></script>
    <style>
        body {
            font-family: 'Noto Sans SC', Tahoma, Arial, Roboto, "Droid Sans", "Helvetica Neue", "Droid Sans Fallback", "Heiti SC", "Hiragino Sans GB", Simsun, sans-serif;
            color: #333;
            line-height: 1.6;
        }
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Noto Serif SC', serif;
            font-weight: 600;
        }
        .hero-gradient {
            background: linear-gradient(135deg, #6e8efb 0%, #4a6cf7 100%);
        }
        .card-hover {
            transition: all 0.3s ease;
        }
        .card-hover:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        .feature-icon {
            font-size: 2.5rem;
            color: #4a6cf7;
            margin-bottom: 1rem;
        }
        .pros-cons-card {
            border-left: 4px solid;
            transition: all 0.3s ease;
        }
        .pros-cons-card:hover {
            transform: translateX(5px);
        }
        .step-number {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 32px;
            height: 32px;
            background: #4a6cf7;
            color: white;
            border-radius: 50%;
            margin-right: 10px;
            font-weight: bold;
        }
        .first-letter {
            font-size: 3.5em;
            float: left;
            line-height: 0.8;
            margin-right: 8px;
            margin-top: 5px;
            color: #4a6cf7;
            font-family: 'Noto Serif SC', serif;
            font-weight: 700;
        }
        .image-caption {
            font-size: 0.9em;
            color: #666;
            text-align: center;
            margin-top: 0.5em;
        }
    </style>
</head>
<body class="bg-gray-50">
    <!-- Hero Section -->
    <header class="hero-gradient text-white py-20 md:py-32 px-4">
        <div class="container mx-auto max-w-5xl">
            <div class="flex flex-col md:flex-row items-center">
                <div class="md:w-1/2 mb-10 md:mb-0 md:pr-10">
                    <h1 class="text-4xl md:text-5xl font-bold mb-4">Deepseek本地部署指南</h1>
                    <p class="text-xl mb-8 opacity-90">高性能推理框架在本地环境中的部署与应用</p>
                    <div class="flex space-x-4">
                        <a href="#why-local" class="bg-white text-blue-600 px-6 py-3 rounded-lg font-medium hover:bg-blue-50 transition">为什么本地部署</a>
                        <a href="#deployment" class="border-2 border-white text-white px-6 py-3 rounded-lg font-medium hover:bg-white hover:text-blue-600 transition">部署指南</a>
                    </div>
                </div>
                <div class="md:w-1/2">
                    <div class="bg-white p-2 rounded-xl shadow-xl">
                        <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738994166382-efab37d8-400f-4d78-8ee8-266349cd4bac.png" alt="Deepseek模型推理" class="rounded-lg w-full h-auto">
                    </div>
                </div>
            </div>
        </div>
    </header>

    <!-- Introduction Section -->
    <section class="py-16 px-4">
        <div class="container mx-auto max-w-5xl">
            <div class="bg-white rounded-xl shadow-md p-8 md:p-10">
                <p><span class="first-letter">在</span>人工智能和深度学习领域，模型推理是一个至关重要的环节。随着模型规模的增大和计算需求的提升，如何在本地环境中高效部署和运行模型成为了许多开发者和技术爱好者的关注点。Deepseek 是一个专注于高性能推理的框架，而 Ollama 是一个简单易用的工具，能够帮助我们在本地环境中快速部署和运行模型。</p>
            </div>
        </div>
    </section>

    <!-- Why Local Deployment Section -->
    <section id="why-local" class="py-16 px-4 bg-gray-100">
        <div class="container mx-auto max-w-5xl">
            <h2 class="text-3xl font-bold text-center mb-12">1. 为什么要本地部署 Deepseek？</h2>
            
            <div class="grid md:grid-cols-2 gap-8">
                <!-- Data Privacy & Security -->
                <div class="bg-white rounded-xl shadow-md p-6 card-hover">
                    <div class="flex items-center mb-4">
                        <i class="fas fa-shield-alt feature-icon"></i>
                        <h3 class="text-2xl font-semibold ml-3">数据隐私与安全</h3>
                    </div>
                    <ul class="space-y-3">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span><strong>数据隐私</strong>：在本地部署模型可以避免将敏感数据传输到云端，确保数据隐私。</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span><strong>安全性</strong>：本地部署减少了网络攻击的风险，适合处理高安全性要求的任务。</span>
                        </li>
                    </ul>
                </div>
                
                <!-- Low Latency & Performance -->
                <div class="bg-white rounded-xl shadow-md p-6 card-hover">
                    <div class="flex items-center mb-4">
                        <i class="fas fa-tachometer-alt feature-icon"></i>
                        <h3 class="text-2xl font-semibold ml-3">低延迟与高性能</h3>
                    </div>
                    <ul class="space-y-3">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span><strong>低延迟</strong>：本地部署消除了网络传输的延迟，特别适合实时推理任务（如视频处理、实时翻译等）。</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span><strong>高性能</strong>：本地硬件资源可以完全用于模型推理，无需与其他用户共享。</span>
                        </li>
                    </ul>
                </div>
                
                <!-- Cost Control -->
                <div class="bg-white rounded-xl shadow-md p-6 card-hover">
                    <div class="flex items-center mb-4">
                        <i class="fas fa-money-bill-wave feature-icon"></i>
                        <h3 class="text-2xl font-semibold ml-3">成本控制</h3>
                    </div>
                    <ul class="space-y-3">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span><strong>节省云服务费用</strong>：本地部署避免了按需付费的云服务成本，适合长期运行的场景。</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span><strong>硬件利用率高</strong>：可以充分利用现有的硬件资源，避免资源浪费。</span>
                        </li>
                    </ul>
                </div>
                
                <!-- Flexibility & Control -->
                <div class="bg-white rounded-xl shadow-md p-6 card-hover">
                    <div class="flex items-center mb-4">
                        <i class="fas fa-sliders-h feature-icon"></i>
                        <h3 class="text-2xl font-semibold ml-3">灵活性与可控性</h3>
                    </div>
                    <ul class="space-y-3">
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span><strong>完全控制</strong>：本地部署允许你完全控制模型的运行环境和配置。</span>
                        </li>
                        <li class="flex items-start">
                            <i class="fas fa-check-circle text-green-500 mt-1 mr-2"></i>
                            <span><strong>快速迭代</strong>：可以随时修改和优化模型，无需依赖外部服务。</span>
                        </li>
                    </ul>
                </div>
            </div>
            
            <div class="mt-12 bg-white rounded-xl shadow-md p-6">
                <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738994228794-8c10ab64-0b27-4e8b-a979-0a784d91d607.png" alt="本地部署好处图示" class="rounded-lg w-full mb-4">
                <div class="grid md:grid-cols-3 gap-4">
                    <div class="pros-cons-card border-blue-500 p-4 bg-blue-50 rounded-lg">
                        <h4 class="font-bold text-lg mb-2 text-blue-700">快速启动</h4>
                        <p>无需复杂的云服务配置，直接在本地运行模型。</p>
                    </div>
                    <div class="pros-cons-card border-green-500 p-4 bg-green-50 rounded-lg">
                        <h4 class="font-bold text-lg mb-2 text-green-700">易于调试</h4>
                        <p>本地环境便于调试和优化模型。</p>
                    </div>
                    <div class="pros-cons-card border-purple-500 p-4 bg-purple-50 rounded-lg">
                        <h4 class="font-bold text-lg mb-2 text-purple-700">离线运行</h4>
                        <p>无需网络连接，适合在无网络或网络不稳定的环境中使用。</p>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Model Parameters Visualization -->
    <section class="py-16 px-4 bg-white">
        <div class="container mx-auto max-w-5xl">
            <h2 class="text-3xl font-bold text-center mb-8">参数规模与模型能力对比</h2>
            <div class="bg-gray-50 p-6 rounded-xl shadow-sm">
                <div class="mermaid">
                    graph LR
                    A[1.5B] -->|CPU:4核<br>内存:8GB<br>存储:3GB| B[轻量级任务]
                    C[7B] -->|CPU:8核<br>内存:16GB<br>存储:8GB| D[本地开发测试]
                    E[14B] -->|CPU:12核<br>内存:32GB<br>存储:15GB| F[企业级任务]
                    G[32B] -->|CPU:16核<br>内存:64GB<br>存储:30GB| H[专业领域]
                    I[70B] -->|CPU:32核<br>内存:128GB<br>存储:70GB| J[科研应用]
                    B --> K[文本生成<br>简单问答]
                    D --> L[中等复杂度任务]
                    F --> M[复杂推理]
                    H --> N[高精度任务]
                    J --> O[前沿研究]
                </div>
                <p class="text-sm text-gray-600 mt-4 text-center">提示：点击不同规模的模型查看详细硬件需求和适用场景</p>
            </div>
            <div class="mt-8 grid md:grid-cols-2 gap-6">
                <div class="bg-blue-50 p-6 rounded-lg">
                    <h3 class="font-bold text-lg mb-3 text-blue-700">参数规模（B = Billion/十亿）</h3>
                    <p>代表模型的复杂度和学习能力，参数越多，通常理解和生成能力越强。</p>
                </div>
                <div class="bg-green-50 p-6 rounded-lg">
                    <h3 class="font-bold text-lg mb-3 text-green-700">适用场景</h3>
                    <ul class="list-disc pl-5 space-y-1">
                        <li>1.5B - 14B：轻量级模型，适合基础任务</li>
                        <li>32B - 70B：中等规模，平衡性能与资源消耗</li>
                        <li>1.5B：适合低资源设备部署等场景</li>
                    </ul>
                </div>
            </div>
        </div>
    </section>

    <!-- Deployment Guide Section -->
    <section id="deployment" class="py-16 px-4 bg-gray-100">
        <div class="container mx-auto max-w-5xl">
            <h2 class="text-3xl font-bold text-center mb-12">3. 使用 Ollama 部署 Deepseek</h2>
            <p class="text-center mb-12 max-w-3xl mx-auto">Ollama 是一个简单易用的工具，能够帮助我们在本地环境中快速部署和运行模型。以下是详细的部署步骤：</p>
            
            <div class="bg-white rounded-xl shadow-md overflow-hidden">
                <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738994269725-e16cfd99-1ad1-4223-b4d3-ddcb10daf055.png" alt="Ollama部署Deepseek" class="w-full">
                
                <div class="p-8">
                    <h3 class="text-2xl font-semibold mb-6">3.1 环境准备</h3>
                    <div class="grid md:grid-cols-2 gap-6 mb-8">
                        <div class="border-l-4 border-blue-500 pl-4">
                            <h4 class="font-bold text-lg mb-2">操作系统</h4>
                            <p>支持 Linux 和 macOS（Windows 用户可以使用 WSL）</p>
                        </div>
                        <div class="border-l-4 border-blue-500 pl-4">
                            <h4 class="font-bold text-lg mb-2">硬件要求</h4>
                            <ul class="list-disc pl-5">
                                <li>CPU：支持 AVX2 指令集的现代处理器</li>
                                <li>内存：至少 8GB RAM</li>
                                <li>存储：至少 10GB 可用空间</li>
                            </ul>
                        </div>
                    </div>

                    <h3 class="text-2xl font-semibold mb-6">3.2 安装 Ollama</h3>
                    <div class="space-y-6">
                        <div class="flex items-start">
                            <span class="step-number">1</span>
                            <div>
                                <p>打开浏览器，访问 <a href="https://ollama.com/download" class="text-blue-600 hover:underline">https://ollama.com/download</a></p>
                                <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738990105982-61514c1f-2f8b-45a1-a77b-c76335b71cd9.png" alt="Ollama下载页面" class="mt-3 rounded-lg border border-gray-200 max-w-full h-auto">
                            </div>
                        </div>
                        <div class="flex items-start">
                            <span class="step-number">2</span>
                            <div>
                                <p>选择对应的系统点击下载</p>
                                <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738990248759-2b0646ef-2b17-4810-828d-c20eaf5981dd.png" alt="Ollama系统选择" class="mt-3 rounded-lg border border-gray-200 max-w-full h-auto">
                            </div>
                        </div>
                        <div class="flex items-start">
                            <span class="step-number">3</span>
                            <div>
                                <p>点击安装，全部默认安装即可</p>
                                <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738990286801-d97ecf6c-18a8-49c4-b647-df4703f0b7d1.png" alt="Ollama安装过程" class="mt-3 rounded-lg border border-gray-200 max-w-full h-auto">
                            </div>
                        </div>
                    </div>

                    <h3 class="text-2xl font-semibold mt-12 mb-6">3.3 下载 Deepseek-R1 模型</h3>
                    <div class="space-y-6">
                        <div class="flex items-start">
                            <span class="step-number">1</span>
                            <div>
                                <p>使用 Ollama 搜索 Deepseek-R1 模型：</p>
                                <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738990404978-8102009a-bb50-4291-a90e-dfc93a9c650e.png" alt="搜索Deepseek模型" class="mt-3 rounded-lg border border-gray-200 max-w-full h-auto">
                            </div>
                        </div>
                        <div class="flex items-start">
                            <span class="step-number">2</span>
                            <div>
                                <p>选择不同的版本的模型</p>
                                <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738990514691-c4fc0b41-ce74-4e48-8b08-735faaf89b38.png" alt="选择Deepseek模型版本" class="mt-3 rounded-lg border border-gray-200 max-w-full h-auto">
                            </div>
                        </div>
                        <div class="flex items-start">
                            <span class="step-number">3</span>
                            <div>
                                <p>下载模型</p>
                                <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738990891785-759b3c2d-7243-4e73-a28c-d0ab76be850c.png" alt="下载Deepseek模型" class="mt-3 rounded-lg border border-gray-200 max-w-full h-auto">
                            </div>
                        </div>
                        <div class="bg-yellow-50 border-l-4 border-yellow-500 p-4 rounded-r">
                            <p class="text-yellow-700"><i class="fas fa-info-circle mr-2"></i>等待一段时间后...下载成功</p>
                            <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738991010524-41e6b312-b21c-40f1-bd3a-8fcc83e7ea24.png" alt="下载完成" class="mt-3 rounded-lg border border-gray-200 max-w-full h-auto">
                        </div>
                        <div>
                            <p>开始使用模型....</p>
                            <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738991079122-b887db1a-6f23-48ca-a68b-1648701a0088.png" alt="使用Deepseek模型" class="mt-3 rounded-lg border border-gray-200 max-w-full h-auto">
                        </div>
                    </div>

                    <h3 class="text-2xl font-semibold mt-12 mb-6">3.4 二次运行 Deepseek 模型</h3>
                    <div class="space-y-4">
                        <div class="bg-gray-800 text-white p-4 rounded-lg font-mono">
                            <p class="text-green-400">$ ollama run deepseek-r1:1.5b</p>
                            <p class="mt-2">> 输入文本：你好，Deepseek！</p>
                            <p class="text-blue-300">> 输出结果：你好！有什么我可以帮助你的吗？</p>
                        </div>
                    </div>

                    <h3 class="text-2xl font-semibold mt-12 mb-6">3.5 配置与优化</h3>
                    <div class="grid md:grid-cols-2 gap-6">
                        <div class="bg-gray-50 p-4 rounded-lg border border-gray-200">
                            <h4 class="font-bold mb-2">调整线程数</h4>
                            <div class="bg-gray-800 text-white p-3 rounded font-mono text-sm">
                                export OLLAMA_NUM_THREADS=4<br>
                                ollama run deepseek
                            </div>
                        </div>
                        <div class="bg-gray-50 p-4 rounded-lg border border-gray-200">
                            <h4 class="font-bold mb-2">启用 GPU 加速（如果可用）</h4>
                            <div class="bg-gray-800 text-white p-3 rounded font-mono text-sm">
                                export OLLAMA_GPU=1<br>
                                ollama run deepseek
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Text Generation Example -->
    <section class="py-16 px-4 bg-white">
        <div class="container mx-auto max-w-5xl">
            <h2 class="text-3xl font-bold text-center mb-12">4. 使用 Deepseek 进行文本生成</h2>
            <div class="bg-gray-100 rounded-xl p-8">
                <h3 class="text-2xl font-semibold mb-6">示例交互</h3>
                <div class="grid md:grid-cols-2 gap-6">
                    <div class="bg-white p-6 rounded-lg shadow-sm">
                        <h4 class="font-bold mb-3 text-blue-600">启动模型</h4>
                        <div class="bg-gray-800 text-white p-4 rounded font-mono text-sm">
                            $ ollama run deepseek-r1:1.5b
                        </div>
                    </div>
                    <div class="bg-white p-6 rounded-lg shadow-sm">
                        <h4 class="font-bold mb-3 text-green-600">输入与输出</h4>
                        <div class="bg-gray-800 text-white p-4 rounded font-mono text-sm">
                            > 输入文本：写一段关于人工智能的未来展望。<br><br>
                            > 输出结果：人工智能的未来充满了无限可能。随着技术的不断进步，AI 将在医疗、教育、交通等领域发挥重要作用，为人类带来更高效、更智能的生活体验。
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- WebUI Installation -->
    <section class="py-16 px-4 bg-gray-100">
        <div class="container mx-auto max-w-5xl">
            <h2 class="text-3xl font-bold text-center mb-12">5. 安装 Deepseek WebUI 界面</h2>
            <div class="bg-white rounded-xl shadow-md overflow-hidden">
                <div class="p-8">
                    <h3 class="text-2xl font-semibold mb-6">1. 什么是 Page Assist 插件？</h3>
                    <p class="mb-6">谷歌浏览器的 <strong>Page Assist</strong> 插件是一款功能强大的工具，能够帮助开发者快速构建和优化 Web 界面。如果你正在使用 Deepseek 进行深度学习模型的推理，并希望通过 WebUI 界面展示和交互，Page Assist 插件将是一个理想的选择。</p>
                    
                    <div class="grid md:grid-cols-2 gap-6 mb-8">
                        <div class="bg-blue-50 p-5 rounded-lg">
                            <h4 class="font-bold text-lg mb-3 text-blue-700">主要功能</h4>
                            <ul class="list-disc pl-5 space-y-2">
                                <li>网页元素检查与调试</li>
                                <li>性能优化分析</li>
                                <li>自动化测试支持</li>
                                <li>自定义界面开发</li>
                            </ul>
                        </div>
                        <div class="bg-green-50 p-5 rounded-lg">
                            <h4 class="font-bold text-lg mb-3 text-green-700">适用场景</h4>
                            <p>对于 Deepseek 的 WebUI 界面开发，Page Assist 可以帮助你快速调试和优化界面，提升用户体验。</p>
                        </div>
                    </div>

                    <h3 class="text-2xl font-semibold mb-6">2. 安装 Page Assist 插件</h3>
                    <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738991589600-b7db44c0-197b-47d2-a777-2f02b6e33c6c.png" alt="Page Assist插件" class="w-full rounded-lg mb-6 border border-gray-200">
                    
                    <div class="grid md:grid-cols-2 gap-8">
                        <div>
                            <h4 class="text-xl font-semibold mb-4 border-b pb-2">2.1 通过谷歌应用商店安装</h4>
                            <ol class="list-decimal pl-5 space-y-3">
                                <li>打开谷歌浏览器，访问 <a href="https://chrome.google.com/webstore/category/extensions" class="text-blue-600 hover:underline">Chrome 网上应用店</a></li>
                                <li>在搜索框中输入 <strong>Page Assist</strong>，然后按下回车</li>
                                <li>找到 <strong>Page Assist</strong> 插件，点击"添加到 Chrome"按钮</li>
                                <li>在弹出的确认对话框中，点击"添加扩展程序"</li>
                                <li>安装完成后，Page Assist 图标会出现在浏览器右上角的扩展程序栏中</li>
                            </ol>
                        </div>
                        <div>
                            <h4 class="text-xl font-semibold mb-4 border-b pb-2">2.2 手动安装（适用于无法访问谷歌应用商店的用户）</h4>
                            <ol class="list-decimal pl-5 space-y-3">
                                <li>下载 Page Assist 插件的 CRX 文件（可以从第三方插件网站获取）</li>
                                <li>打开谷歌浏览器，进入扩展程序管理页面：<br><code class="bg-gray-100 px-2 py-1 rounded">chrome://extensions/</code></li>
                                <li>启用"开发者模式"：<br>在页面右上角，打开"开发者模式"开关</li>
                                <li>拖拽下载的 CRX 文件到扩展程序页面，完成安装</li>
                            </ol>
                        </div>
                    </div>

                    <h3 class="text-2xl font-semibold mt-12 mb-6">3. 配置 Page Assist 插件</h3>
                    <div class="grid md:grid-cols-3 gap-6 mb-8">
                        <div class="bg-white p-5 rounded-lg border border-gray-200 shadow-sm">
                            <h4 class="font-bold mb-3 text-purple-700">3.1 启用插件</h4>
                            <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738991690001-63407973-c2ef-4da1-ab93-a6f0ab372527.png" alt="启用Page Assist" class="w-full rounded mb-3">
                            <p>点击浏览器右上角的扩展程序图标，找到 Page Assist，点击"启用"按钮。</p>
                        </div>
                        <div class="bg-white p-5 rounded-lg border border-gray-200 shadow-sm">
                            <h4 class="font-bold mb-3 text-blue-700">3.2 设置快捷键</h4>
                            <p>进入扩展程序管理页面（<code class="bg-gray-100 px-1 py-0.5 rounded">chrome://extensions/</code>），找到 Page Assist 插件，点击"详细信息"，在"快捷键"选项中设置快捷键（如 <code class="bg-gray-100 px-1 py-0.5 rounded">Ctrl+Shift+P</code>）。</p>
                        </div>
                        <div class="bg-white p-5 rounded-lg border border-gray-200 shadow-sm">
                            <h4 class="font-bold mb-3 text-green-700">3.3 使用UI界面</h4>
                            <img src="https://cdn.nlark.com/yuque/0/2025/png/21449790/1738991990760-eb96118b-afe8-4f64-9d1b-cfb2e8362ffa.png" alt="Page Assist界面" class="w-full rounded mb-3">
                            <p>通过快捷键或点击图标打开插件界面，开始使用各种功能。</p>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Summary Section -->
    <section class="py-16 px-4 bg-blue-600 text-white">
        <div class="container mx-auto max-w-5xl text-center">
            <h2 class="text-3xl font-bold mb-6">开启本地AI推理之旅</h2>
            <p class="text-xl mb-8 max-w-3xl mx-auto">通过本指南，您已经了解了如何在本地环境中部署和运行Deepseek模型，以及如何通过WebUI界面进行交互。现在就开始您的本地AI推理之旅吧！</p>
            <div class="flex justify-center space-x-4">
                <a href="#why-local" class="bg-white text-blue-600 px-8 py-3 rounded-lg font-medium hover:bg-blue-100 transition">重新浏览指南</a>
                <a href="https://ollama.com/download" class="border-2 border-white text-white px-8 py-3 rounded-lg font-medium hover:bg-white hover:text-blue-600 transition">下载Ollama</a>
            </div>
        </div>
    </section>

    <!-- Footer -->
    <footer class="bg-gray-900 text-gray-300 py-12 px-4">
        <div class="container mx-auto max-w-5xl">
            <div class="flex flex-col md:flex-row justify-between items-center">
                <div class="mb-6 md:mb-0">
                    <h3 class="text-xl font-bold text-white mb-2">技术小馆</h3>
                    <p class="text-sm">专注技术分享与知识传播</p>
                </div>
                <div>
                    <a href="http://www.yuque.com/jtostring" class="text-blue-400 hover:text-white transition">http://www.yuque.com/jtostring</a>
                </div>
            </div>
            <div class="border-t border-gray-800 mt-8 pt-8 text-sm text-center">
                <p>© 2023 技术小馆. 保留所有权利.</p>
            </div>
        </div>
    </footer>

    <script>
        mermaid.initialize({
            startOnLoad: true,
            theme: 'default',
            flowchart: {
                useMaxWidth: true,
                htmlLabels: true,
                curve: 'basis'
            },
            securityLevel: 'loose'
        });
        
        // 微交互效果
        document.addEventListener('DOMContentLoaded', function() {
            const cards = document.querySelectorAll('.card-hover, .pros-cons-card');
            cards.forEach(card => {
                card.addEventListener('mouseenter', function() {
                    this.style.transition = 'all 0.3s ease';
                });
                card.addEventListener('mouseleave', function() {
                    this.style.transition = 'all 0.3s ease';
                });
            });
            
            // 平滑滚动
            document.querySelectorAll('a[href^="#"]').forEach(anchor => {
                anchor.addEventListener('click', function (e) {
                    e.preventDefault();
                    document.querySelector(this.getAttribute('href')).scrollIntoView({
                        behavior: 'smooth'
                    });
                });
            });
        });
    </script>
</body>
</html>
```